// 基于template/src/widgets/{{appEntities}}/{{ctrls@DATAVIEW}}-data-view/{{spinalCase ctrl.codeName}}-data-view-vo.ts.hbs生成
import { ControlVOBase } from '@/core';

export class DataviewControlVO extends ControlVOBase {

  constructor(data: any){
    super(data);
    //  数据视图自持属性
    this.$ownKeys = ['type', 'srfkey', 'srfmajortext', 'srfmstag'];
  }
  get type() {
    return this.$DO.type;
  }
  set type(value: any) {
    this.$DO.type = value;
  }
  get srfkey() {
    return this.$DO.ibizbookid;
  }
  set srfkey(value: any) {
    this.$DO.ibizbookid = value;
  }
  get srfmajortext() {
    return this.$DO.ibizbookname;
  }
  set srfmajortext(value: any) {
    this.$DO.ibizbookname = value;
  }
  set ibizbook(value: any) {
    this.$DO.ibizbookid = value;
  }
  get ibizbook() {
    return this.$DO.ibizbookid;
  }
}